CDropDownList.cs
Code Type: C# Class
Uses Classes: ListItem


Lines of Code: 133

public class CDropDownList

	Dropdownlist helper class 

public void SelectValue( DropDownList cbo,
                             string strValue)

	select a value in the dropdownlist 

public void SelectValue( DropDownList cbo,
                             long lValue)

	select a value in the dropdownlist 

public void RenderDataSet( BaseMaster BaseMstr,
                               DataSet ds,
                               DropDownList cbo,
                               string strTextFields,  //comma delimeted / LastName,FirstName
                               string strIDField,     //field used to uniquely id a row
                               string strSelectedID)

	render a dataset as a drop down list 

public void RenderDataSetByMatch( BaseMaster BaseMstr,
                                      DataSet ds,
                                      DropDownList cbo,
                                      string strTextFields,  //comma delimeted / LastName,FirstName
                                      string strIDField,     //field used to uniquely id a row
                                      string strSelectedID,
                                      string strMatchFieldName,
                                      string strMatchValue)

	render a dataset as a drop down list 

	

